﻿@model DelBtn
@if (Model.IsDeleted)
{
    <form class="frestore" method="post" action="@Url.Action("Restore",Model.Controller, new { Model.Id })">
    <button type="submit" class="awe-btn" >re</button>
    </form>
}
else
{
    <form method="post" action="@Url.Action("Delete",Model.Controller, new { Model.Id })">
    <button type="submit" class="awe-btn bdel confirm" />
    </form>
}